

function openFile(file) {
    var component = Qt.createComponent(file)
    if (component.status == Component.Ready)
        pageStack.push(component);
    else
        console.log("Error loading component:", component.errorString());
}

function myTr( str ) {
    var res = qsTr( str ) + cppLanguage.emptyString;
    return res;
}
